package cc.miwuya.common.util.exception;

/**
 * @Author 迷雾森林
 * @Date 2024-01-08 21:26
 */
public class HubException extends RuntimeException{

    private String msg;
    private Integer code = 500;

    public HubException(String msg){
        super(msg);
        this.msg = msg;
    }
    public HubException(String msg,Integer code){
        super(msg);
        this.msg = msg;
        this.code = code;
    }
}
